package controllers;

import models.Joueur;

public class Security extends controllers.Secure.Security {
    static boolean authenticate(String username, String password) {
        return Joueur.connect(username	, password)!=null;
    }
    
    static void onDisconnected() {
        Application.index();
    }
    
    static void onConnected() {
        WarRoom.index();
    }

}
